package com.faithbj.common.model.compare;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.faithbj.common.model.BaseEntity;

/**
 * 比对发送返回情况记录表
 * @author m
 * @date   2012-06-15
 */
@Entity
@Table(name = "compare_record")
public class CompareRecord extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**申请编号=受理编号*/
	@Column(name = "apply_num", length = 40, nullable = false)
	private String applyNum;
	
	/**受理时间*/
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "accept_time", nullable = false)
	private Date acceptTime;
	
	/**关联的区域Id*/
	@Column(name = "regin_id", nullable = false)
	private String regionId;
	
	/**本申请的所有家庭成员人数*/
	@Column(name = "member_num", length=2, nullable = false)
	private Integer memberNum;
	
	/**
	 * 部委类型：1.房产委2社会保险委3税务委4人口管理机构委办5工商行政管理机构6公积金管理机构
	 */
	@Column(name = "type", length=2, nullable = false)
	private Integer type;
	
	/**已发送人数*/
	@Column(name = "send_num", length=2, nullable = false)
	private Integer sendNum;
	
	/**已返回人数*/
	@Column(name = "recv_num", length=2, nullable = false)
	private Integer recvNum;

	public String getApplyNum() {
		return applyNum;
	}

	public void setApplyNum(String applyNum) {
		this.applyNum = applyNum;
	}

	public Date getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(Date acceptTime) {
		this.acceptTime = acceptTime;
	}

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	public Integer getMemberNum() {
		return memberNum;
	}

	public void setMemberNum(Integer memberNum) {
		this.memberNum = memberNum;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSendNum() {
		return sendNum;
	}

	public void setSendNum(Integer sendNum) {
		this.sendNum = sendNum;
	}

	public Integer getRecvNum() {
		return recvNum;
	}

	public void setRecvNum(Integer recvNum) {
		this.recvNum = recvNum;
	}
	
	
}
